package cn.ylz.ylmall.shopping.dao.persist.repository;


import cn.ylz.ylmall.account.pojo.vo.PageData;
import cn.ylz.ylmall.content.pojo.entity.Content;
import cn.ylz.ylmall.content.pojo.vo.ContentListItemVO;
import cn.ylz.ylmall.content.pojo.vo.ContentStandardVO;
import cn.ylz.ylmall.shopping.pojo.entity.Shopping;
import cn.ylz.ylmall.shopping.pojo.param.ShoppingParam;
import cn.ylz.ylmall.shopping.pojo.param.ShoppingQuantityParam;
import cn.ylz.ylmall.shopping.pojo.param.ShoppingSelectedParam;
import cn.ylz.ylmall.shopping.pojo.vo.ShoppingVO;
import cn.ylz.ylmall.shopping.pojo.vo.ShoppingVO1;

import java.util.List;


public interface IShoppingRepository {

    int insert(Shopping shopping);

    List<ShoppingVO> showAll(Long userId);
    void updateQuantity(List<ShoppingQuantityParam> lis);

    void delete(List<Long> list);
    List<ShoppingVO> showDeclineAll(Long userId);
    List<ShoppingVO> showHavingAll(Long userId);

    List<ShoppingVO> selectCartId(List<Long> list);

    void updateNumber(Long cartId);
}
